// Aufgabe_6_4_blaues_Haar

var w = 0;

function setup() {
  createCanvas(400, 400);
  background(180, 0, 0);
}

function draw() {
  stroke(235, 165, 30);
  strokeWeight(2);
  noFill();
  // Gesicht
  bezier(250, 41, 350, 250, 180, 200, 170, 243); 
  stroke(0, 0, 100);
  // Kleid
  bezier(170, 243, 350, 360, 250, 200, 300, 400) 
  // Haare
  stroke(255*noise(w), 100, 2000);
  strokeWeight(1);
  noFill();
  bezier(250, 40, 100*noise(w), 50*noise(w), 450*noise(w), 400*noise(w), 60, 360);
  w = w + 0.1;

  if (w > 15) {
  noLoop();
 }
}
